package com.example.tse.rbhttpservice.service.goods.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取虚拟分类二级分类商品列表
 * @author wliu
 * edit tse
 */
public class GoodsGetVirtualListProducts extends RudderResponse{
    
    private String productId = "";
		
    
    private String price = "";
		
    
    private String mktprice = "";
		
    
    private String quantity = "";
		
    
    private String name = "";
		
    
    private String thumbnailPic = "";
		
    
    private String bn = "";
		
    
    private String buyerNum = "";
		
	
    /**
     * @return productId
     */	
    public String getProductId() { 
	    return this.productId;
    };
	
	/**
     * @return productId
     */	
    public void setProductId(String productId) { 
        this.productId = productId;
    };
    
    /**
     * @return price
     */	
    public String getPrice() { 
	    return this.price;
    };
	
	/**
     * @return price
     */	
    public void setPrice(String price) { 
        this.price = price;
    };
    
    /**
     * @return mktprice
     */	
    public String getMktprice() { 
	    return this.mktprice;
    };
	
	/**
     * @return mktprice
     */	
    public void setMktprice(String mktprice) { 
        this.mktprice = mktprice;
    };
    
    /**
     * @return quantity
     */	
    public String getQuantity() { 
	    return this.quantity;
    };
	
	/**
     * @return quantity
     */	
    public void setQuantity(String quantity) { 
        this.quantity = quantity;
    };
    
    /**
     * @return name
     */	
    public String getName() { 
	    return this.name;
    };
	
	/**
     * @return name
     */	
    public void setName(String name) { 
        this.name = name;
    };
    
    /**
     * @return thumbnailPic
     */	
    public String getThumbnailPic() { 
	    return this.thumbnailPic;
    };
	
	/**
     * @return thumbnailPic
     */	
    public void setThumbnailPic(String thumbnailPic) { 
        this.thumbnailPic = thumbnailPic;
    };
    
    /**
     * @return bn
     */	
    public String getBn() { 
	    return this.bn;
    };
	
	/**
     * @return bn
     */	
    public void setBn(String bn) { 
        this.bn = bn;
    };
    
    /**
     * @return buyerNum
     */	
    public String getBuyerNum() { 
	    return this.buyerNum;
    };
	
	/**
     * @return buyerNum
     */	
    public void setBuyerNum(String buyerNum) { 
        this.buyerNum = buyerNum;
    };
    
	
        
    public static void filter(GoodsGetVirtualListProducts goods) {
        if (goods.getProductId() == null) {
            goods.setProductId("");
        }
        if (goods.getPrice() == null) {
            goods.setPrice("");
        }
        if (goods.getMktprice() == null) {
            goods.setMktprice("");
        }
        if (goods.getQuantity() == null) {
            goods.setQuantity("");
        }
        if (goods.getName() == null) {
            goods.setName("");
        }
        if (goods.getThumbnailPic() == null) {
            goods.setThumbnailPic("");
        }
        if (goods.getBn() == null) {
            goods.setBn("");
        }
        if (goods.getBuyerNum() == null) {
            goods.setBuyerNum("");
        }
    }
}
